import request from '@/common/utils/request'

export function getTestCarEnterpriseList(data) {
  return request({
    url: 'test-car-enterprise/list',
    method: 'post',
    data
  })
}

export function addTestCarEnterprise(data) {
  return request({
    url: 'test-car-enterprise/add',
    method: 'post',
    data
  })
}

export function updateTestCarEnterprise(data) {
  return request({
    url: 'test-car-enterprise/update',
    method: 'post',
    data
  })
}

export function deleteTestCarEnterprise(data) {
  return request({
    url: 'test-car-enterprise/delete',
    method: 'post',
    data
  })
}

export function getAllTestCarEnterpriseList(data) {
  return request({
    url: 'test-car-enterprise/get-all-list',
    method: 'post',
    data
  })
}

export function getUserTestCarEnterpriseList(data) {
  return request({
    url: 'test-car-enterprise/get-user-car-enterprise',
    method: 'post',
    data
  })
}
